<?
    include_once('../classes/class.register.configman.php');
    
    session_start();
    
    if (isset($_POST['addConfigman']))
    {
        $registerConfigman = new RegisterConfigman();
        
        if($registerConfigman->process())
        {
          echo "<script>loadConfigmans();</script>";
          echo "<script>alert('Configuracion agregada satisfactoriamente');</script>";
        }else
            {
             echo '<p class="error">';
             echo '<b>'.$registerConfigman->show_errors().'</b>'; 
             echo '</p>';
            }
    }
?>
